package com.atguigu.gulimail.product.feign;

import com.atguigu.common.to.SkuEsModel;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("gulimall-search")
public interface ESService {

    @RequestMapping("es/skusUp")
    R skusUp(@RequestBody List<SkuEsModel> skuEsModels);

}

